Skip to content

[Trivial] Add test-ios command to package.json#24985

Closed
hramos wants to merge 1 commit into
facebook:masterfrom
hramos:add-ios-test-script
Closed

[Trivial] Add test-ios command to package.json#24985
hramos wants to merge 1 commit into
facebook:masterfrom
hramos:add-ios-test-script

Conversation

@hramos
Copy link
Copy Markdown
Contributor

@hramos hramos commented May 21, 2019

Summary

There is currently no entry point for running the RNTester tests in package.json. This adds a test-ios command which leverages the existing objc-test-ios.sh script.

With this change in place, our documentation for running tests locally can be simplified and made consistent with how JavaScript tests are run (yarn test).

Changelog

[General] [Added] - Add a test-ios command to run iOS RNTester tests locally

Test Plan

yarn test-ios invokes the objc-test-ios.sh script.

Future work

The rest of the commands here should be cleaned up, but that's a non-goal for this pull request. In the future, I could see us having separate test-ios-unit and test-ios-integration commands, to match the existing Android docker commands.

@hramos hramos requested a review from cpojer as a code owner May 21, 2019 19:24
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner RN Team labels May 21, 2019
@react-native-bot react-native-bot added Platform: iOS iOS applications. Type: Enhancement A new feature or enhancement of an existing feature. labels May 21, 2019
@hramos hramos force-pushed the add-ios-test-script branch from f1a7fb1 to f545d1f Compare May 21, 2019 23:22
Copy link
Copy Markdown
Contributor

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

Copy link
Copy Markdown
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cpojer is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @hramos in 45b5e5f.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label May 22, 2019
vovkasm pushed a commit to vovkasm/react-native that referenced this pull request Aug 12, 2019
Summary:
There is currently no entry point for running the RNTester tests in package.json. This adds a test-ios command which leverages the existing objc-test-ios.sh script.

With this change in place, our documentation for running tests locally can be simplified and made consistent with how JavaScript tests are run (yarn test).

## Changelog

[General] [Added] - Add a test-ios command to run iOS RNTester tests locally
Pull Request resolved: facebook#24985

Differential Revision: D15449399

Pulled By: cpojer

fbshipit-source-id: 63f7ad653d23c5601a11fc9d27a39b4987fccaad
(cherry picked from commit 45b5e5f)
M-i-k-e-l pushed a commit to M-i-k-e-l/react-native that referenced this pull request Mar 10, 2020
Summary:
There is currently no entry point for running the RNTester tests in package.json. This adds a test-ios command which leverages the existing objc-test-ios.sh script.

With this change in place, our documentation for running tests locally can be simplified and made consistent with how JavaScript tests are run (yarn test).

## Changelog

[General] [Added] - Add a test-ios command to run iOS RNTester tests locally
Pull Request resolved: facebook#24985

Differential Revision: D15449399

Pulled By: cpojer

fbshipit-source-id: 63f7ad653d23c5601a11fc9d27a39b4987fccaad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner Platform: iOS iOS applications. RN Team Type: Enhancement A new feature or enhancement of an existing feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants